//
//  XXTGSearchAreaView.h
//  XiuXiuTuanGou
//
//  Created by 王克博 on 2018/8/10.
//  Copyright © 2018年 XiuXiuTuanGou. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <AMapFoundationKit/AMapFoundationKit.h>
#import <AMapSearchKit/AMapSearchKit.h>

@interface XXTGSearchAreaView : UIView

@property (strong, nonatomic) UIView * backView;    //触发点击取消键盘
@property (strong, nonatomic) UITableView * tableView;
@property (strong, nonatomic) NSMutableArray * areaArray;   //数据源
@property (assign, nonatomic) NSInteger page;   //当前页数 从1开始

@property (nonatomic, strong) NSMutableArray *locations;

@property (copy, nonatomic) void(^choosedCellBlock)(NSInteger , AMapTip *);  //选择cellblock
@property (copy, nonatomic) void(^tapGestureBlock)(void);    //拖拽tableview执行

- (void)keywordsSearchWithKeywords:(NSString *)keywords;

- (void)clearTableViewData;


@end
